import { axios } from '@/utils/request'

/**
 * 查询开课轮次
 *
 * @author kongxm
 * @date 2022-07-11 11:34:57
 */
export function courseScheduleFrequencyPage (parameter) {
  return axios({
    url: '/courseScheduleFrequency/page',
    method: 'get',
    params: parameter
  })
}

/**
 * 开课轮次列表
 *
 * @author kongxm
 * @date 2022-07-11 11:34:57
 */
export function courseScheduleFrequencyList (parameter) {
  return axios({
    url: '/courseScheduleFrequency/list',
    method: 'get',
    params: parameter
  })
}

/**
 * 添加开课轮次
 *
 * @author kongxm
 * @date 2022-07-11 11:34:57
 */
export function courseScheduleFrequencyAdd (parameter) {
  return axios({
    url: '/courseScheduleFrequency/add',
    method: 'post',
    data: parameter
  })
}

/**
 * 编辑开课轮次
 *
 * @author kongxm
 * @date 2022-07-11 11:34:57
 */
export function courseScheduleFrequencyEdit (parameter) {
  return axios({
    url: '/courseScheduleFrequency/edit',
    method: 'post',
    data: parameter
  })
}

/**
 * 删除开课轮次
 *
 * @author kongxm
 * @date 2022-07-11 11:34:57
 */
export function courseScheduleFrequencyDelete (parameter) {
  return axios({
    url: '/courseScheduleFrequency/delete',
    method: 'post',
    data: parameter
  })
}

/**
 * 导出开课轮次
 *
 * @author kongxm
 * @date 2022-07-11 11:34:57
 */
export function courseScheduleFrequencyExport (parameter) {
  return axios({
    url: '/courseScheduleFrequency/export',
    method: 'get',
    params: parameter,
    responseType: 'blob'
  })
}
